package com.linkelee.manage.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * redis 参数配置类
 *
 * @author lsl
 * @since 2019-01-14
 */

@Data
@Component
@ConfigurationProperties(prefix = "redis")
public class RedisProperties {

    private String host = "localhost";

    private int port = 6379;

    private String sentinels = "";

    private String clusters;

    private String masterName = "";

    private String password = "";

    private int dataBase = 0;

}
